
// 颜色
$main-color:#007DFF;
$auxiliary-color:#F6F8FA;
$border-color:#D8D8D8;
$line-color:#E1E6ED;
// 字体大小
$font-size:14px;
$font-sizes:18px;
$font-size1:12px;
.purchase{
    // padding: 20px;
    background-color: #fff;
    position: relative;
    padding-bottom: 64px;

    // 头部
    &_header{
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 62px;
        max-height: 62px;
        border-bottom: 1px solid #E2E8F0;
        padding: 0 20px 0 20px;
        overflow: hidden;
        p{
            position: relative;
        }
        p::before{
            content: '';
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background-color: $main-color;
            position: absolute;
            left: -6px;
            top: 50%;
            transform: translate(-50%, -50%);
        }
    }
    // 供应商信息
    &_supply_information{
        padding: 20px;
        p{
            font-size: 18px;
            margin: 20px 0 20px 0;
        }
      &_message{
        background-color: $auxiliary-color;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        div{
          p{
            font-size: 14px;
          }  
        }
      }  
    }
    &_commodity_information{
        padding: 20px;
       p{
        font-size: 18px;
        margin: 20px 0 20px 0;
       } 
    }
    .purchase_form{
        border-top: 1px solid #ccc;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        &-left{
            flex: 2;
            padding: 20px;
            margin-right: 32px;
            .el-form{
             .el-form-item{
                :deep(.el-input__wrapper){
                    background: #F2F3F5;
                }
                :deep(.el-textarea__inner){
                    background: #F2F3F5;
                }
             }   
            }
            :deep(.el-upload){
                width: 50% !important;
                height: 100px !important;
            }
        }
        &-right{
            flex: 1;
            padding: 20px;
            background: #F2F3F5;
            &-top{
                p:nth-child(1){
                    font-size: 18px;
                    color: #86909C;
                    margin-bottom: 20px;
                }
                div{
                    margin-bottom: 10px;
                    line-height: 2;
                    p:nth-child(1){
                        font-size: 14px;
                        margin-bottom: 0px;
                        
                    }
                }
            }
            &-botton{
                p:nth-child(1){
                    font-size: 18px;
                    color: #86909C;
                    margin-bottom: 20px;
                }
                div{
                    margin-bottom: 10px;
                    line-height: 2;
                    p:nth-child(1){
                        font-size: 14px;
                        margin-bottom: 0px;
                        
                    }
                }
            }
        }
    }
    .botton_btn{
        position: absolute;
        bottom: 0;
        width:100%;
        height: 64px;
        background: #FFFFFF;
        box-shadow: 0px -3px 10px 0px rgba(4,24,48,0.1);
        border-radius: 0px 0px 0px 0px;
        z-index: 999;
        display: flex;
        justify-content: space-between;
        .left{
            display: flex;
            align-items: center;
            padding-left: 20px;
            overflow: hidden;
            p{
               margin: 0 50px 0 0; 
               font-size: 14px;
               color: #86909C;
               span{
                color: #3D3D3D;
               }
            }
            p:nth-child(3){
                font-size: 18px;
                color: #3D3D3D;
                span{
                 color: #3D3D3D;
                }  
            }
            p:nth-child(4){
                font-size: 18px;
                color: #3D3D3D;
                span{
                 color: #FF3333;
                }  
            }
            p:nth-child(5){
                font-size: 18px;
                color: #3D3D3D;
                span{
                 color: #FF3333;
                }  
            }
        }
        .right{
            display: flex;
            justify-content: center;
            align-items: center;
            padding-right: 20px;
            overflow: hidden;
        }
    }
}
.sp_message{
    display: flex;
    div:nth-child(1){
        width: 100px;
        min-width: 100px;
        height: 100px;
        min-height: 100px;
        overflow: hidden;
        border-radius: 6px;
        img{
            width: 100%;
            height: 100%;
        }
    }
    div:nth-child(2){
        margin-left: 10px;
        p{
            margin: 0 0 10px 0;
            font-size: 12px;
            color: #86909C;
        }
        p:nth-child(1){
            font-size: 14px !important;
            color: #3D3D3D !important;
        }
    }
}
// 清楚定时弹框里边的样式
.time_content{
    text-align: center;
    p{
        font-size: 14px;
        margin-top: 10px;
    }
}
.clear_btn{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 0 0;
}
.procure_success{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    div:nth-child(2){
        margin: 50px;
    }
}
// 收货仓库样式
.warehouse_content{
    width: 100%;
    height: 58px;
    border: 1px solid #DCDFE6;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding-left: 20px;
    overflow: hidden;
    .el-select{
        width: 50%;
    }
}